// ActionScript file
import common.validations.CommonValidations;

import mx.controls.Alert;
import mx.validators.StringValidator;
import mx.validators.Validator;

public var actvity_sequenceValid:StringValidator = new StringValidator();
public var validate:CommonValidations=new CommonValidations();
[Embed(source="images/error.png")]private var errorIcon1:Class;

public function validateForm():Boolean
{
	actvity_sequenceValid .source = activitySequence;
	actvity_sequenceValid.property = "text";
	actvity_sequenceValid.required=true;
	
	if(Validator.validateAll([actvity_sequenceValid]).length!=0){
		return false;
	}
	else{
		return true;		
	}
	
}






